package com.append.design.factorymethod.example2;

public class FactoryMenthodTest {

	public static void main(String[] args) {
		LoggerFactory factory;
		Logger logger;
		factory = new DatabaseLoggerFactory(); // 可引入配置文件实现
		logger = factory.createLogger();
		logger.writeLog();
	}

}
